import request from '@/utils/request';

// 列表
export const anyUserssion = (data) => {
  return request({
    method: 'POST',
    url: '/userssion/anyUserSSsion',
    data,
  });
};
// 详情
export const userUserssion = (id) => {
  return request({
    method: 'GET',
    url: `/userssion/${id}`,
  });
};
// 更新
export const userUserssionSave = (data) => {
  return request({
    method: 'POST',
    url: '/userssion/userssionSaves',
    data,
  });
};
// 删除
export const removeUserssion = (id) => {
  return request({
    method: 'DELETE',
    url: `/userssion/${id}`,
  });
};